/*
 * @description: 
 * @Author: wzg
 * @Date: 2021-03-08 08:42:12
 * @LastEditTime: 2021-03-18 10:56:34
 */

import { selectCollectInfo, selectAuctionRecordInfo } from '../service/collect.js';

/* 获取收藏信息 */
let getCollects = async (ctx, next) => {
  await selectCollectInfo(ctx, next);
};
/* 获取竞拍记录信息 */
let getAuctionRecord = async (ctx, next) => {

  selectAuctionRecordInfo(ctx, next);
};


/* 注意请求方式后面的空格 */
export default {
  'GET /collect': getCollects,
  'GET /auctionRecord': getAuctionRecord
};